package com.platform.qujia.pojo;

import java.math.BigDecimal;
import java.util.Date;
import java.io.Serializable;

/**
 * (ReductionActivityBalanceRecord)实体类
 *
 * @author makejava
 * @since 2023-08-29 17:23:56
 */
public class ReductionActivityBalanceRecord implements Serializable {
    private static final long serialVersionUID = -44182243386975926L;
    public static final String activityType_RCH = "RCH";//活动用途_充值

    //汽油
    public static final String card_oils_type_gasoline = "1";
    //柴油
    public static final String card_oils_type_diesel = "2";
    // 天然气
    public static final String card_oils_type_LNG = "3";

    // CNG
    public static final String card_oils_type_CNG = "4";

    /**
     * 主键
     */
    private Long rabrId;
    /**
     * 用户id
     */
    private Long userId;
    //油站id
    private Long stationId;
    //油企id
    private Long enterpriseId;

    //油类：2.柴油； 1.汽油
    private String cardOilsType;
    /**
     * 用户手机号
     */
    private String mobilePhone;
    private String physicalCardNo;
    /**
     * 充值金额
     */
    private BigDecimal rechargeAmt;
    /**
     * 余额
     */
    private BigDecimal balance;
    /**
     * 创建时间
     */
    private Date createTime;
    /**
     * 更新时间
     */
    private Date updateTime;

    /**
     * 标识用户是否第一次充值，消费时用到，1-第一次，0-不是
     */
    private String newUserFlag;

    private String businessType;

    private String paymentMethod;

    /**
     * 最后一次充值适用的活动activityId
     */
    private Long activityId;

    public Long getActivityId() {
        return activityId;
    }

    public void setActivityId(Long activityId) {
        this.activityId = activityId;
    }

    public String getPaymentMethod() {
        return paymentMethod;
    }

    public void setPaymentMethod(String paymentMethod) {
        this.paymentMethod = paymentMethod;
    }

    public static final String BUSINESSTYPE_DZK="dzk";
    public static final String BUSINESSTYPE_DKQ="dkq";

    public String getPhysicalCardNo() {
        return physicalCardNo;
    }

    public void setPhysicalCardNo(String physicalCardNo) {
        this.physicalCardNo = physicalCardNo;
    }

    public String getBusinessType() {
        return businessType;
    }

    public void setBusinessType(String businessType) {
        this.businessType = businessType;
    }

    public Long getRabrId() {
        return rabrId;
    }

    public void setRabrId(Long rabrId) {
        this.rabrId = rabrId;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public String getMobilePhone() {
        return mobilePhone;
    }

    public void setMobilePhone(String mobilePhone) {
        this.mobilePhone = mobilePhone;
    }

    public BigDecimal getRechargeAmt() {
        return rechargeAmt;
    }

    public void setRechargeAmt(BigDecimal rechargeAmt) {
        this.rechargeAmt = rechargeAmt;
    }

    public BigDecimal getBalance() {
        return balance;
    }

    public void setBalance(BigDecimal balance) {
        this.balance = balance;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Long getStationId() {
        return stationId;
    }

    public void setStationId(Long stationId) {
        this.stationId = stationId;
    }

    public Long getEnterpriseId() {
        return enterpriseId;
    }

    public void setEnterpriseId(Long enterpriseId) {
        this.enterpriseId = enterpriseId;
    }

    public String getCardOilsType() {
        return cardOilsType;
    }

    public void setCardOilsType(String cardOilsType) {
        this.cardOilsType = cardOilsType;
    }

    public String getNewUserFlag() {
        return newUserFlag;
    }

    public void setNewUserFlag(String newUserFlag) {
        this.newUserFlag = newUserFlag;
    }
}

